home *** CD-ROM | disk | FTP | other *** search
/ Hot Metal Pro 4.0 / Hot Metal Pro 4.0.iso / HMPRO4 / cgi.z / readme2.txt < prev    next >
Encoding:
Text File  |  1997-06-12  |  6.4 KB  |  137 lines

  1. ###########################################################################
  2. # WWWAdmin README (readme2.txt)
  3. # Version 2.0 ALPHA 2
  4. # Created by Matt Wright
  5. # Created on:  10/21/95         Last Modified on:  11/25/95
  6. # Modifications by SoftQuad for inclusion in HoTMetaL 4.0 
  7. #   Made: 06/12/97
  8. #   Indicated by **(SQ)
  9. # I can be reached at:          mattw@xtc.net
  10. # Scripts Found at:             http://worldwidemart.com/scripts/
  11. ###########################################################################
  12.  
  13. WWWAdmin is finally here!  I know it used to be a pain to have to maintain 
  14. WWWBoard without a program, so I am currently developing WWWAdmin.  Right 
  15. now it performs the basic functions, which allow you to remove messages and 
  16. change your password.  I will explain each different process and how to set
  17. up this program below.  I will also list some of the features you can expect
  18. in upcoming releases.
  19.  
  20. The variables and options in WWWAdmin should correspond directly to those in 
  21. WWWBoard.  In all except two cases, you can copy the variables out of 
  22. wwwboard.pl and place them in wwwadmin.pl.  There is one new variable in 
  23. wwwadmin.pl and one variable that will need to be changed:
  24.  
  25.     $cgi_url = "http://your.host.xxx/cgi-bin/wwwadmin.pl";
  26.         This variable needs to be changed from the url to 
  27.        wwwboard.pl to the url to wwwadmin.pl.  This may simply mean 
  28.        changing the file name at the end of the url.
  29.  
  30.     $passwd_file = "passwd.txt";
  31.         This is a new variable and simply gives the filename of the 
  32.        password file in relation to $basedir.  So if you place this 
  33.        file in $basedir, you can simply set this variable equal to the 
  34.        filename, which is most commonly passwd.txt
  35. ____________________________________________________________________________
  36.  
  37. RUNNING WWWADMIN.
  38.     WWWAdmin is a self-contained script, in that all you have to do is 
  39.    call the script with a plain url (The url you used in $cgi_url) and it 
  40.    will give you a form which displays all of your options.  The options 
  41.    that are currently available in this release are:
  42.     Remove Messages
  43.     Remove Messages by Date
  44.     Remove Messages by Author
  45.     Remove Messages by Sorted Number
  46.     Change WWWAdmin Password
  47.  
  48. All of these options require you to use a password and username once you 
  49. take the link.  The default username and password for WWWAdmin are:
  50.  
  51. Username: WebAdmin
  52. Password: WebBoard
  53.  
  54. They are case sensitive, so make sure you type them in correctly.  I suggest 
  55. you jump down to the explanation on Changing WWWAdmin Password before 
  56. you make this wwwboard available to the public.  A brief description of 
  57. how each WWWAdmin function works is below:
  58.  
  59. **You could also insert a hypertext link to WWWAdmin by including the
  60. following HTML on your home page:
  61.   <A HREF="http://yourserver/cgi-bin/wwwadmin.pl">Maintain my WWWBoard</A> (SQ)
  62.  
  63. REMOVE MESSAGES
  64. ===============
  65.     When selecting this link, you will be taken to a form which gives you 
  66. the article number, two radio boxes, the subject, author and date that 
  67. the article was posted, for all articles.  The form is put inside of a 
  68. Netscape table, but I have tested it and it also works with lynx (a text 
  69. based browser) so I am sure it will work with others.  You can check the 
  70. radio boxes to the side of the messages that you wish to remove from 
  71. your WWWBoard.  Checking the check box to the left, will remove the 
  72. entire thread, while checking the check box on the right, simply removes 
  73. that single posting, whether it is imbeded in a thread or not.  This 
  74. will also remove the message out of your messages/ directory, and if you 
  75. select to remove the thread, it will remove all messages in that thread 
  76. out of your messages/ directory.
  77.  
  78. REMOVE MESSAGES BY DATE
  79. =======================
  80.     This link will pop up a form that looks something like this:
  81.  
  82.   Checkbox   Date1   # of Messages  Message Numbers
  83.  
  84. You can click in the checkbox next to any dates of your choice and it 
  85. will remove all files that were posted on that date.  To see what files 
  86. are going to be removed and how many, you can look at the columns 
  87. labeled # of messages and message numbers.  If messages of an earlier 
  88. date happen to be at the head of a thread, they will be removed and the 
  89. next response down in the thread becomes the head of that thread.  It 
  90. will only remove messages with that date.
  91.  
  92. REMOVE MESSAGES BY AUTHOR
  93. =========================
  94.     This link will pop up a form very similar to that which the Remove 
  95. Message by Date link brought up.  Except instead of different dates, you 
  96. will see the names of authors of messages.  You can check the checkbox 
  97. next to an authors name to remove all postings that he or she posted to 
  98. your message board.
  99.  
  100. REMOVE MESSAGES BY SORTED NUMBER
  101. ================================
  102.     This link brings up a form identical to the plain Remove Messages form, 
  103. except that the postings are sorted from lowest number to highest 
  104. number.  This can be useful if you want to delete postings in the order 
  105. they were posted, but this is probably the l east useful remove function.
  106.  
  107. CHANGE PASSWORD
  108. ===============
  109.     This form will ask you to fill in your current username and password 
  110. and allow you to change your username and password to whatever you 
  111. like.  If you want to keep the username the same, you can simply not 
  112. fill in the 'New Username' part of the script.  When changing your 
  113. password, which I suggest you do right when you get WWWAdmin working, 
  114. you will need to type the new password two times in a row, just to make 
  115. sure you don't mis-type it.  Then, hit submit and if you input the 
  116. correct old username and password, you will be given a response that 
  117. tells you the new username and password.  Do not forget your password, 
  118. because it will be encrypted in the passwd.txt file, just like your Unix 
  119. login password.  You will need to re-download the wwwadmin tool...
  120. __________________________________________________________________________
  121.  
  122. FUTURE FEATURES
  123. ===============
  124.     I will continue to work on this admin tool and hopefully make it much 
  125. more powerful.  To do this, I need to know what you would like to be 
  126. able to do with it.  Some of my ideas include being able to edit any 
  127. post, and possibly moving them around in hierarchies.  Let me know what 
  128. else you would like to see this thing do.
  129. __________________________________________________________________________
  130.  
  131. HISTORY
  132.  
  133. Version 2.0 A2    - 11/25/95    - Released WWWAdmin Tool with WWWBoard 2.0
  134.                   ALPHA 2
  135. __________________________________________________________________________
  136. Matt Wright - mattw@xtc.net
  137.